<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
</head>
<body>
<div>div</div>
<p>pppp</p>
<span>span</span>
<span>span</span>
<div>div</div>
<span>span</span>
<p>pppp</p>
<span>span</span>
<span>span</span>
<div>div</div>
<span>span</span>
<p>pppp</p>
<span>span</span>
<span>span</span>
<div>div</div>
</body>
<script src="./itcast.js"></script>
<script>
    var iObj = I( 'div, span' )
            .each(function () {
                this.style.border = '1px dashed blue';
            });



</script>
</html>